package foo.bar.wiki.plugins;

import foo.bar.wiki.domain.Space;

/**
 * @author tmjee
 * @version $Date$ $Id$
 */
public interface SpaceListenerPlugin extends Plugin {
    void preSpaceCreation(Space space) throws PluginException;
    void postSpaceCreation(Space space);

    void preSpaceRemoval(Space space) throws PluginException;
    void postSpaceRemoval(Space space);

    void preSpaceUpdate(Space space) throws PluginException;
    void postSpaceUpdate(Space space);
}
